<template>
<div class="footer-wrapper">
  <div class="governments" v-if="showGoverments">
    <div class="hd">
      <a href="http://www.nhfpc.gov.cn/" target="_blank">
        <img src="../assets/nhfpc.jpg" alt="国家卫生和计划生育委员会" title="国家卫生和计划生育委员会" />
      </a>
      <a href="http://www.satcm.gov.cn/" target="_blank">
        <img src="../assets/satcm.png" alt="国家中医院管理局" title="国家中医院管理局" />
      </a>
      <a href="http://www.jswst.gov.cn/" target="_blank">
        <img src="../assets/jswst.png" alt="江苏省卫生局" title="江苏省卫生局" />
      </a>
      <a href="http://www.jstcm.gov.cn/" target="_blank">
        <img src="../assets/jstcm.png" alt="江苏省中医药局" title="江苏省中医药局" />
      </a>
      <a href="http://www.njutcm.edu.cn/" target="_blank">
        <img src="../assets/njutcm.png" alt="南京中医药大学" title="南京中医药大学" />
      </a>
    </div>
  </div>
  <div class="hd">
    <!-- <div class="footer-menu">
      <ul class="menus">
        <li v-for="menu in footMenus" :key="menu.name">
          <a :href="menu.url" target="_blank">{{menu.name}}</a>
        </li>   
      </ul>
    </div> -->

    <div class="copyright mt10">
             公司地址：中国杭州滨江区越达巷92号创业智慧大厦 邮编：310051 电话：0571-88217878 传真：0571-88217703
      <br/>

      Copyright 2018  创业软件 All right reserved  网站备案/许可证号：<a href="http://www.miitbeian.gov.cn" target="_blank">浙ICP备14013057号</a>
    </div>
    
  </div>
</div>
</template>

<script>
export default {
  props: {
    showGoverments: {
      type: Boolean,
      default: false
    }
  },
  data () {
    return {
      footMenus: [
        {name: '医院概况', url: 'http://www.jshtcm.com/list.php?fid=1'},
        {name: '新闻中心', url: 'http://www.jshtcm.com/list.php?fid=9'},
        {name: '就诊指南', url: 'http://www.jshtcm.com/list.php?fid=12'},
        {name: '名医堂', url: 'http://www.jshtcm.com/list.php?fid=15'},
        {name: '省中特色', url: 'http://www.jshtcm.com/list.php?fid=37'},
        {name: '重点专科', url: 'http://www.jshtcm.com/list.php?fid=34'},
        {name: '教育教学', url: 'http://www.jshtcm.com/list.php?fid=38'},
        {name: '科研管理', url: 'http://www.jshtcm.com/list.php?fid=61'},
        {name: '健康宣传', url: 'http://www.jshtcm.com/list.php?fid=62'},
        {name: '党建平台', url: 'http://www.jshtcm.com/list.php?fid=63'}
      ]
    }
  }
}
</script>
<style lang="less">
.footer-wrapper {
  background-color: #f5f5f5;
  // padding: 0 0 40px;
  width: 100%;
  margin-top: 40px;

  .governments {
    background: url(../assets/gov_bg.png) repeat-x;
    padding-top: 6px;
    text-align: center;
  }

  .footer-menu {
    line-height: 2;
    border-bottom: 1px solid #ddd;
  }
  .menus {
    text-align: center;
    li {
      display: inline-block;
      margin-right: 20px;
    }
    a {
      color: #999;
      transition: color .5s;
      &:hover {
        color: #000;
      }
    }
  }
  .copyright {
    text-align: center;
    padding: 20px;
    color: #aaa;
    font-size: 12px;
    line-height: 20px;
    a {
      color: #999;
      &:hover {color:#9E310F;}
    }
  }
}
</style>

